﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 属性
{
    public class Person
    {
        // 私有字段
        private string firstName;

        // 公共属性
        public string FirstName
        {
            get { return firstName; }
            set { firstName = value; }
        }
    }
}
